<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      template="./template.xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">
    <head>
        <title>Registros</title>
        <meta name="viewport" content="width=device-width"/>
    </head>
    <body>
        <h1><center>Registros</center></h1>
        <img src="./cama.jpg" style=" height: 250px; width: 720px; margin-left: 320px"></img>
        <h:form>
            <h:panelGrid columns="2" cellpadding="5">
                <p:outputLabel for="ActorId"  value="IdCliente: " />
                   <p:inputMask id="ActorId"  value="#{actor.actorId}" mask="xxxxxxxxxx"/>

                <p:outputLabel for="FirstName" value="Nombre: " />
                <p:inputMask id="FirstName" value="#{actor.firstName}" mask="xxxxxxxxxx"/>

                <p:outputLabel for="LastName" value="Apellido:" />
                <p:inputMask id="LastName" value="#{actor.lastName}" mask="xxxxxxxxxx"/> 
                
                <p:outputLabel for="fecha" value="Fecha:" />
                <p:inputMask id="fecha" value="#{actor.lastName}" mask="xxxxxxxxxx"/>
                
                <p:outputLabel for="Pieza" value="Tipo Pieza:" />
                <p:inputMask id="Pieza" value="#{actor.lastName}" mask="xxxxxxxxxx"/>
                
                <p:outputLabel for="Dias" value="Dias de ocupo:" />
                <p:inputMask id="Dias" value="#{actor.lastName}" mask="xxxxxxxxxx"/>
                <center><p:commandButton value="Registrar" actionListener="#{actor.Salvar()}"  /></center>
            </h:panelGrid>

            
       
        </h:form>
    </body>
</html>

